WCPM\Classes\Admin\LTV B

Total Complexity 77
Dependencies 7
Dependents 3
Total lines 855
Lines of code 418
Logical lines of code 178
Comment lines 303
Methods 27
Properties 2

Methods 27

Method Rating Maintainability Complexity Lines of code
batch_process_vertical_ltv_calculation()
A
43 6 52
horizontal_ltv_calculation()
S
49 6 35
handle_action_scheduler_failed_action()
S
48 6 35
vertical_recalculation_if_the_marketing_order_value_calculation_changed()
S
54 6 23
horizontal_ltv_calculation_check()
S
49 5 34
run_complete_vertical_ltv_calculation()
S
52 4 29
schedule_complete_vertical_ltv_calculation()
S
52 4 28
set_pmw_order_values_on_order()
S
59 4 15
get_next_order_with_same_email_address()
S
55 3 20
get_previous_order_with_same_email_address()
S
55 3 20
is_horizontal_ltv_calculation_in_progress()
S
58 3 17
calculate_pmw_order_values()
S
57 3 16
get_pmw_order_values()
S
63 3 11
is_recalculation_running()
S
72 3 5
are_all_pmw_order_values_set()
S
65 3 9
get_the_first_order_in_the_db()
S
59 2 14
get_pmw_order_value_by_key()
S
68 2 7
is_recalculation_scheduled()
S
75 2 4
stop_ltv_recalculation()
S
74 1 5
pmw_order_value_meta_key()
S
81 1 3
get_ltv_recalculation_status()
S
71 1 6
default_pmw_order_values()
S
68 1 8
get_total_ltv_from_order()
S
78 1 3
get_total_order_value_from_order()
S
78 1 3
get_marketing_order_value_from_order()
S
78 1 3
get_marketing_ltv_from_order()
S
78 1 3
get_failed_as_attempts()
S
64 1 10